﻿namespace YidanSoft.Library.EditorUtility.WinControls
{
    using System;
    using System.ComponentModel;
    using System.Drawing;

    [ToolboxItem(false)]
    public class ColorChangeArgs : EventArgs
    {
        private Color newColor;
        private string senderName;

        public ColorChangeArgs(Color newColor, string senderName)
        {
            this.newColor = newColor;
            this.senderName = senderName;
        }

        public Color NewColor
        {
            get
            {
                return this.newColor;
            }
        }

        public string SenderName
        {
            get
            {
                return this.senderName;
            }
        }
    }
}

